# -*- coding: utf8 -*-
from django import forms

from app.models import Article

__author__ = 'panshengpeng'


class ArticleAdminModelForm(forms.ModelForm):
    desc = forms.CharField(widget=forms.Textarea(attrs={'rows': 3}), label="描述")

    class Meta:
        model = Article
        fields = '__all__'
